package com.jsmtr.rms.service.EasyShuttleService;

import java.util.List;
import java.util.Map;

/**
 * 快捷操作服务包括（统计、发布、发送短信、发送消息）
 */
public interface IEasyShuttleService {

    /**
     * 状态统计
     * @param pid 招聘方案Id
     * @param fid 招聘流程Id
     * @param jid 招聘岗位Id
     * @return
     */
    List<Map> StatusStatistics(String pid, String fid, String jid) throws Exception;

    List<Map> StatusStatistics(String pid, String fid) throws Exception;

    List<Map> StatusStatistics(String pid) throws Exception;

    /**
     * 一键发布
     * @param pid 招聘方案Id
     * @param fid 招聘流程Id
     * @param jid 招聘岗位Id
     * @return
     */
    Integer EasyPublic(String pid,String fid,String jid) throws Exception;

    Integer EasyPublic(String pid,String fid) throws Exception;


    /**
     * 一键发送短信
     * @param msg 短信内容
     * @param pid 招聘方案Id
     * @param fid 招聘流程Id
     * @param jid 招聘岗位Id
     * @return
     */
    Integer EasyMsg(String msg,String pid,String fid,String jid) throws Exception;

    Integer EasyMsg(String msg,String pid,String fid) throws Exception;

    Integer EasyMsg(String msg,String pid) throws Exception;

    /**
     * 一键推送消息
     * @param news 消息内容
     * @param pid 招聘方案Id
     * @param fid 招聘流程Id
     * @param jid 招聘岗位Id
     * @return
     */
    Integer EasyNews(String news,String pid,String fid,String jid) throws Exception;

    Integer EasyNews(String news,String pid,String fid) throws Exception;

    Integer EasyNews(String news,String pid) throws Exception;


    Integer EasyAssignment(String pid,String fid,String jname,Map infos,int count,String checkColumn) throws Exception;
}
